home *** CD-ROM | disk | FTP | other *** search
- /************************************************************
- * 共通一般ライブラリー OKOME System 2 *
- ************************************************************/
-
- #include <EGB.H>
- #include <normlib.h>
-
- extern char work[];
-
- void egbputZ(int x, int y, int x2, int y2, int sx, int sy, char *pat)
- {
- char pa[64];
- DWORD(pa) = (int)pat;
- WORD(pa+4) = 0x14;
- WORD(pa+6) = x;
- WORD(pa+8) = y;
- WORD(pa+0xA) = x2;
- WORD(pa+0xC) = y2;
- WORD(pa+0xE) = sx;
- WORD(pa+0x10) = sy;
- EGB_putBlockZoom( work, 0, pa );
- }
-